public class Car {
    public String mark;
    public void drive(){

    }
    public static void main(String[] args) {

    }
}
class SubCar extends Car{
    String price;
    int speed;
    public void changeSpeed(int newSpeed){
        this.speed=newSpeed;
    }
}
